<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>XX系统 - 房屋信息详情查看</title>
<link rel="stylesheet" href="../../css/main.css">
<link rel="stylesheet"
	href="../../lib/font-awesome/css/font-awesome.css">
</head>
<body>
	<div class="box">
		<h3>房屋信息详情</h3>
		<form action="#" method="post">
			<table class="form-table">
				<tr>
					<td class="label">序号</td>
					<td class="detail">${lc.lc_id }</td>
				</tr>
				<tr>
					<td class="label">合同号</td>
					<td colspan="3" class="detail">${lc.lc_contract_number }</td>
				</tr>
				<tr>
					<td class="label">房屋信息</td>
					<td colspan="3" class="detail"><c:forEach items="${list_h }" var="lh">
							<c:if test="${lc.flat_id ==lh.h_id }">${lh.h_address }</c:if>
						</c:forEach></td>
				</tr>
				<tr>
					<td class="label">租户信息</td>
					<td colspan="3" class="detail"><c:forEach items="${list_l }"
							var="ll">
							<c:if test="${lc.tenant_id ==ll.l_id }">${ll.l_name }</c:if>
						</c:forEach></td>
				</tr>
				<tr>
					<td class="label">合同日期</td>
					<td colspan="3" class="detail">${lc.lc_contract_date }</td>
				</tr>
				<tr>
					<td class="label">租凭开始时间</td>
					<td colspan="3" class="detail">${lc.lc_contract_start_date }
					</td>
				</tr>
				<tr>
					<td class="label">租凭结束时间</td>
					<td colspan="3" class="detail">${lc.lc_contract_end_date }</td>
				</tr>
				<tr>
					<td class="label">房租总额</td>
					<td colspan="3" class="detail">${lc.lc_total_rent }</td>
				</tr>
				<tr>
					<td class="label">付款方式</td>
					<td colspan="3" class="detail">
						${lc.lc_pay_way==0?'月付':lc.lc_pay_way==1?'半年付':lc.lc_pay_way==2?'年付':'季付' }
					</td>
				</tr>
				<tr>
					<td class="label">押金</td>
					<td colspan="3" class="detail">${lc.lc_deposit }</td>
				</tr>
				<tr>
					<td class="label">付款期数</td>
					<td colspan="3" class="detail">${lc.lc_period_payment }</td>
				</tr>
				<tr>
					<td class="label">合同签署人</td>
					<td colspan="3" class="detail">${lc.lc_contract_signer }</td>
				</tr>
				<tr>
					<td class="label">合同状态</td>
					<td colspan="3" class="detail">
						${lc.lc_contract_state==0?'已生效':'已失效' }</td>
				</tr>
			</table>
			<div class="buttons">
				<a class="btn btn-default" href="javascript:history.go(-1)">返回</a>
			</div>
		</form>
	</div>
</body>
</html>